﻿<UserControl x:Class="VmroleAuthor.Views.SqlDacApplicationView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignWidth="900">
    <Grid VerticalAlignment="Top" ShowGridLines="False">
        <Grid.RowDefinitions >
            <RowDefinition Height="6" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />            
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="6"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="6"/>
        </Grid.ColumnDefinitions>

        <!-- Application Payload Id-->
        <Label Grid.Row="1" Grid.Column="0" >Sql Dac Package</Label>
        <ContentControl Grid.Row="1" Grid.Column="2" Content="{Binding Path= SqlDacAppPackage}" />


        <!-- DeploymentName -->
        <Label  Grid.Row="2" Grid.Column="0" >DeploymentName</Label>
        <ContentControl Grid.Row="2" Grid.Column="2" Content="{Binding Path=DeploymentName}" />

        <!-- SQLDAC Instance Name-->
        <Label  Grid.Row="3" Grid.Column="0" >SQLDAC Instance Name</Label>
        <ContentControl Grid.Row="3" Grid.Column="2" Content="{Binding Path=DacInstance}" />


        <!--SqlAuthenticationType -->
        <Label  Grid.Row="4" Grid.Column="0" >SqlAuthenticationType</Label>
        <ContentControl Grid.Row="4" Grid.Column="2" Content="{Binding Path=SqlAuthenticationType}" />

        <!--SqlDeploymentCredential -->
        <Label  Grid.Row="5" Grid.Column="0" >SqlDeploymentCredential</Label>
        <ContentControl Grid.Row="5" Grid.Column="2" Content="{Binding Path=SqlDeploymentCredential}" />

        <!--BlockOnChanges -->
        <Label  Grid.Row="6" Grid.Column="0" >BlockOnChanges</Label>
        <ContentControl Grid.Row="6" Grid.Column="2" Content="{Binding Path=BlockOnChanges}" />

        <!--IgnoreDataLoss  -->
        <Label  Grid.Row="7" Grid.Column="0" >IgnoreDataLoss</Label>
        <ContentControl Grid.Row="7" Grid.Column="2" Content="{Binding Path=IgnoreDataLoss}" />

        <!--RollbackOnFailure  -->
        <Label  Grid.Row="8" Grid.Column="0" >RollbackOnFailure</Label>
        <ContentControl Grid.Row="8" Grid.Column="2" Content="{Binding Path=RollbackOnFailure}" />

        <!--SqlInstance  -->
        <Label  Grid.Row="9" Grid.Column="0" >SqlInstance</Label>
        <ContentControl Grid.Row="9" Grid.Column="2" Content="{Binding Path=SqlInstance}" />

        <!--SkipPolicyValidation  -->
        <Label  Grid.Row="10" Grid.Column="0" >SkipPolicyValidation</Label>
        <ContentControl Grid.Row="10" Grid.Column="2" Content="{Binding Path=SkipPolicyValidation}" />

        <!--UninstallMode  -->
        <Label  Grid.Row="11" Grid.Column="0" >UninstallMode</Label>
        <ContentControl Grid.Row="11" Grid.Column="2" Content="{Binding Path=UninstallMode}" />     

    </Grid>    
</UserControl>
